/*-------------------------------------------------------- 
* Module Name : OLStatusbar
* Version : 1.0
* 
* Software Name : Qt App Template
* Version : 1.0
*
* Copyright � 2010 � 2011 France T�l�com
* This software is distributed under the LGPL v2.1 license,
* the text of which is available at http://www.gnu.org/licenses/lgpl-2.1.html
* or see the "LICENSE.txt" file for more details.
*
*--------------------------------------------------------
* File Name   : OLStatusbar.h
*
* Created     : 07 June 2011
* Author(s)   : Omer Saleem
*
* Description :
* UI container for the status bar across the the top of the
* screen. Made up from the info button, title area and close/
* back buttons.
*
*--------------------------------------------------------
* 1.0 - First open source release
*
*/

#ifndef OLSTATUSBAR_H
#define OLSTATUSBAR_H

#include <QWidget>

#include "OLMenuSurface.h"

class OLPixmapWidget;

class OLStatusbar : public QWidget
{
    Q_OBJECT

public:
    explicit OLStatusbar(QWidget *parent = 0);

private slots:
    void handleMenuState(OLMenuSurface::OLMenuState);

signals:
    void menuEnabled();
    void menuDisabled();

protected:
    // from QWidget
    virtual void paintEvent(QPaintEvent* e);

private:
    OLPixmapWidget* m_downBtn;
};

#endif // OLSTATUSBAR_H
